import { createApp } from 'vue'
import App from './App.vue'
import HelloWorld from './components/HelloWorld.vue'
import router from './router'

let app=createApp(App)

//在全局属性中添加属性与方法
app.config.globalProperties.url="http://www.cnblogs.com";
app.config.globalProperties.show=(msg)=>{
    alert(msg);
}

app.use(router).mount('#app');

